package com.scaffold.myproject.utils;
/**
 * Id生成器
 *
 * @author Lx
 */
public class IdUtils {

    public static Long getId() {
        return cn.hutool.core.util.IdUtil.getSnowflakeNextId();
    }

    public static String getIdStr() {
        return cn.hutool.core.util.IdUtil.getSnowflakeNextIdStr();
    }

}
